package com.lzs.esubscribe.utils;

import org.springframework.stereotype.Component;

import java.util.UUID;

/**
 * @author : liangzesheng
 * @Date : 2022-02-16
 * @Description : uuid工具类
 */
@Component
public class UuidUtils {
    /**
     * @author : liangzesheng
     * @Date : 2022-02-16
     * @Description : 生成不重复的32位uuid
     */
    public static String uuidGenerate(){
        String uuid = UUID.randomUUID().toString().replace("-", "");
        return uuid ;
    }
}
